Next: TIC6X Syntax, Up: TIC6X-Dependent

#### 9.37.1 TIC6X Options

`-march=`arch
  Enable (only) instructions from architecture arch. By default, all instructions are permitted.

  The following values of arch are accepted: `c62x`, `c64x`, `c64x+`, `c67x`, `c67x+`, `c674x`.

`-matomic`
`-mno-atomic`
  Enable or disable the optional C64x+ atomic operation instructions. By default, they are enabled if no `-march` option is given, or if an architecture is specified with `-march` that implies these instructions are present (currently, there are no such architectures); they are disabled if an architecture is specified with `-march` on which the instructions are optional or not present. This option overrides such a default from the architecture, independent of the order in which the `-march` or `-matomic` or `-mno-atomic` options are passed.

`-mdsbt`
`-mno-dsbt`
  The `-mdsbt` option causes the assembler to generate the `Tag_ABI_DSBT` attribute with a value of 1, indicating that the code is using DSBT addressing. The `-mno-dsbt` option, the default, causes the tag to have a value of 0, indicating that the code does not use DSBT addressing. The linker will emit a warning if objects of different type (DSBT and non-DSBT) are linked together.

`-mpid=no`
`-mpid=near`
`-mpid=far`
  The `-mpid=` option causes the assembler to generate the `Tag_ABI_PID` attribute with a value indicating the form of data addressing used by the code. `-mpid=no`, the default, indicates position-dependent data addressing, `-mpid=near` indicates position-independent addressing with GOT accesses using near DP addressing, and `-mpid=far` indicates position-independent addressing with GOT accesses using far DP addressing. The linker will emit a warning if objects built with different settings of this option are linked together.

`-mpic`
`-mno-pic`
  The `-mpic` option causes the assembler to generate the `Tag_ABI_PIC` attribute with a value of 1, indicating that the code is using position-independent code addressing, The `-mno-pic` option, the default, causes the tag to have a value of 0, indicating position-dependent code addressing. The linker will emit a warning if objects of different type (position-dependent and position-independent) are linked together.

`-mbig-endian`
`-mlittle-endian`
  Generate code for the specified endianness. The default is little-endian.